<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>药品详情</title>
<%@ include file="/WEB-INF/component/commonCSS.jsp" %> 
 <style type="text/css">
 div.form-group.form-group-xs{
 margin-top:6px;
 margin-bottom:0px
 }

.text-left{
    color:#949494;
    }
 
  </style>
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    
    <section class="content">
        <div>
            <!-- form start -->
            <form role="form" class="form-horizontal"  method="post">                
                <div class="box-body">
                <table class="message">
                 <tr>
                   <td class="no1">
                    <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">药品编码：</label>
                            <div class="col-sm-3 text-left">
                                <c:out value="${detail.drugCode}" />
                            </div>
                            <label class="col-sm-3 text-right">通用名：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.qualityspecName }" />
                            </div>
                     </div>
                      </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                     <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">通用名英文：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.qualityspecNameEng }" />
                            </div>
                            <label class="col-sm-3 text-right">商品名：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.busName }" />
                            </div>
                      </div>
                      </td>    
                    </tr>
                     <tr>
                     <td class="no1">
                      <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">剂型：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.formName }" />
                            </div>
                            <label class="col-sm-3 text-right">规格：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.specName }" />
                            </div>
                      </div>
                       </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                      <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">转换系数：</label>
                            <div class="col-sm-3 text-left">
                                <c:out value="${detail.factor }" />
                            </div>
                            <label class="col-sm-3 text-right">单位：</label>
                            <div class="col-sm-3 text-left">
                                <c:out value="${detail.unitName }" />
                            </div>
                        </div>
                         </td>    
                    </tr>
                    <tr>
                     <td class="no1">
                        <div class="form-group form-group-xs">                      
                        <label class="col-sm-2 text-right">材质：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.materialName}" />
                            </div>
                            <label class="col-sm-3 text-right">生产企业：</label>
                            <div class="col-sm-3 text-left">
                                <c:out value="${detail.prodCompName }" />
                            </div>                          
                        </div>
                         </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                        <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">批准文号：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.approvalCode }" />
                            </div>
                            <label class="col-sm-3 text-right">批准日期：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.approvalDate }" />
                            </div>
                        </div>
                        </td>    
                    </tr>
                    <tr>
                     <td class="no1">
                        <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">基本药物属性：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.drugAttr == 1}">国家基本药物（2012版）</c:if>
                                <c:if test="${detail.drugAttr == 2}">省增补基本药物</c:if>
                                <c:if test="${detail.drugAttr == 3}">其他</c:if>
                            </div>
                            <label class="col-sm-3 text-right">基药序号：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.drugIndex }" />
                            </div>
                        </div>
                        </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                        <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">药理分类：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.pharName}" />
                            </div>
                             <label class="col-sm-3 text-right">专利类型：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.patternType == 1}">发明专利</c:if>
                                <c:if test="${detail.patternType == 2}">实用新型专利</c:if>
                                <c:if test="${detail.patternType == 3}">外观设计专利</c:if>
                                <c:if test="${detail.patternType == 4}">没有专利</c:if>
                                <c:if test="${detail.patternType == 9}">不详</c:if>
                            </div>
                        </div>
                        </td>    
                    </tr>
                    <tr>
                     <td class="no1">
                        <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">药品来源：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.drugSource == 1}">国产</c:if>
                                <c:if test="${detail.drugSource == 2}">进口</c:if>
                                <c:if test="${detail.drugSource == 9}">不详</c:if>
                            </div>
                            
                            <label class="col-sm-3 text-right">是否低价药：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.isLowprice == 1}">是</c:if>
                                <c:if test="${detail.isLowprice == 0}">否</c:if>
                                <c:if test="${detail.isLowprice == 9}">未知</c:if>
                            </div>
                        </div>
                        </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                        <div class="form-group  form-group-xs">
                          <label class="col-sm-2 text-right">是否农合：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.isAgriculture == 1}">是</c:if>
                                <c:if test="${detail.isAgriculture == 0}">否</c:if>
                                <c:if test="${detail.isAgriculture == 9}">未知</c:if>
                            </div>
                            <label class="col-sm-3 text-right">是否医保：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.isHealthcare == 1}">是</c:if>
                                <c:if test="${detail.isHealthcare == 0}">否</c:if>
                                <c:if test="${detail.isHealthcare == 9}">未知</c:if>
                            </div>
                        </div>
                        </td>    
                    </tr>
                    <tr>
                     <td class="no1">
                        <div class="form-group form-group-xs">
                           <label class="col-sm-2 text-right">状态：</label>
                            <div class="col-sm-3 text-left">
                                <c:if test="${detail.status == 1}">启用</c:if>
                                <c:if test="${detail.status == 0}">停用</c:if>
                                <c:if test="${detail.status == 3}">合并</c:if>
                            </div>
                            <label class="col-sm-3 text-right">药品本位码：</label>
                            <div class="col-sm-3 text-left">
                               <c:out value="${detail.drugStdCode }" />
                            </div>                          
                       </div>
                       </td>    
                    </tr>
                    <tr>
                     <td class="no2">
                       <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">药品本位码备注：</label>
                            <div class="col-sm-10 text-left">
                                <c:out value="${detail.drugStdcdRemark }" />
                            </div>
                       </div>
                       </td>    
                    </tr>
                    <tr>
                     <td class="no1">
                       <div class="form-group form-group-xs">
                            <label class="col-sm-2 text-right">说明：</label>
                            <div class="col-sm-10 text-left">
                                <c:out value="${detail.remark }" />
                            </div>
                       </div>
                        </td>    
                    </tr>
                    </table>   
                </div>               
            </form>
        </div>
        
        
        
    </section>

</body>
</html>